package com.egg.auth.model.response.web;

import com.egg.common.core.model.response.BaseResponse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author east
 */
@Data
@ApiModel(value = "用户分页")
public class UserPage extends BaseResponse {

    @ApiModelProperty(value = "用户ID")
    private Long id;

    @ApiModelProperty(value = "真实姓名")
    private String realName;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "手机")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "性别", notes = "com.egg.auth.enums.user.UserGenderEnum")
    private String gender;

    @ApiModelProperty(value = "状态", notes = "com.egg.auth.enums.user.UserStateEnum")
    private String state;

    @ApiModelProperty(value = "在线")
    private Boolean onlineState;

    @ApiModelProperty(value = "创建日期")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @ApiModelProperty(value = "最后登录时间")
    private LocalDateTime lastLoginDate;

}
